package com.zbkj.crmeb.order.request;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class XiYangYangOrderRequest implements Serializable {

    //平台名称
    @JSONField(name ="source_name")
    private String sourceName;
    //平台订单号
    @JSONField(name ="out_order_sn")
    private String outOrderSn;

    //收货人姓名
    @JSONField(name ="consignee")
    private String consignee;
    //收货人电话
    @JSONField(name ="phone_tel")
    private String phoneTel;
    //发货人姓名
    @JSONField(name ="fhr_name")
    private String fhrName;
    //发货人电话
    @JSONField(name ="fhr_phone")
    private String fhrPhone;
    //详细地址
    @JSONField(name ="address")
    private String address;
    //快递方式 默认 填写    16
    @JSONField(name ="shipping")
    private String shipping;
    //仓库id  香港为 2
    @JSONField(name ="sh_id")
    private String shId;

    @JSONField(name ="specInfo")
    private SpecInfo[] infoArr;

    @Data
    public static class SpecInfo{
        //商品id
        @JSONField(name ="goods_id")
        private String goodsId;
        //商品尺码规格ID
        @JSONField(name ="spec_id")
        private String specId;
        //商品数量
        @JSONField(name ="quantity")
        private String quantity;

    }
}
